package ${package.Service};

import ${package.Entity}.${entity};
import ${superServiceClassPackage};
import com.lovol.farm.base.service.common.ResultResponse;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
/**
 * <p>
 * ${table.comment!} 服务类
 * </p>
 *
 * @author ${author}
 * @since ${date}
 */
<#if kotlin>
interface ${table.serviceName} : ${superServiceClass}<${entity}>
<#else>
public interface ${table.serviceName} extends ${superServiceClass}<${entity}> {
    ResultResponse doInsert(${entity} bean);

    ResultResponse doDeleteById(String id);

    ResultResponse doUpdate(${entity} bean);

    ResultResponse getItemById(String id);

    ResultResponse pageCondition(int page, int limit,QueryWrapper queryWrapper);

    ResultResponse customQuery(QueryWrapper queryWrapper);

    ResultResponse queryByPolygon(String geomWkt);
}
</#if>
